<template>
  <div>
    <div class="address">
      <van-cell is-link @click="showPopup" class="tou"
        ><van-icon name="map-marked" /><b>郑州</b></van-cell
      >
      <van-popup v-model="show" position="bottom" :style="{ height: '30%' }">
        <van-area
          title="内容"
          :area-list="areaList"
          :columns-placeholder="['请选择', '请选择', '请选择']"
      /></van-popup>
      <van-search v-model="value" placeholder="搜索感兴趣的职位" />
    </div>
  </div>
</template>

<script>
import { areaList } from "@vant/area-data";
export default {
  data() {
    return {
      areaList,
      show: false,
      value: "",
    };
  },
  methods: {
    showPopup() {
      this.show = true;
    },
  },
};
</script>

<style>
.address {
  width: 100%;
  height: 190px;
}
.van-cell__value--alone {
  width: 112px;
}
.van-cell {
  background: #f3f6ff;
}
.van-icon-arrow:before {
  content: "";
}
.van-icon-map-marked:before {
  width: 36px;
  height: 40px;
  font-size: 36px;
}
.address b {
  margin-left: 16px;
  font-size: 30px;
}
.van-search {
  width: 548px;
  height: 72px;
  padding: 0;
  margin-left: 180px;
  margin-top: 44px;
  border-radius: 72px;
  overflow: hidden;
}
.van-search__content {
  width: 548px;
  height: 72px;
  background: #fff;
}
.van-icon-search:before {
  width: 28px;
  height: 28px;
  font-size: 28px;
}
.van-cell__value--alone {
  font-size: 28px;
}
.van-cell {
  line-height: 72px;
  padding: 0;
}
.tou {
  position: relative;
  top: 110px;
  left: 26px;
  width: 120px;
  height: 50px;
  line-height: 50px;
}
</style>
